package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos =new FileOutputStream("fos5.txt");//可以不用true
        for (int i = 97; i <123; i++) {
            char a=(char)i;
            fos.write(a);
        }
        System.out.println("写出完毕");
        fos.close();
    }
}
